package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {
    //获取id
    public Review getDataById(Long id);

    String savedate(MybatisReviewVO mybatisReviewVO);

    String savedate(String name, String age, String sex);

    String removeData(Long id);

    String updateData(MybatisReviewVO reviewVO);


    List<Review> getDataByPage();

}
